import React, { Component } from 'react'

export default class Son extends Component {

    sonFn = (str) => {
        console.log("sonFn",str);
    }
  render() {
    
    return (
        <div>
            <h2>子组件</h2>
      </div>
    )
  }
}
